import 'package:BeeApp/MainPage/MainToolPage.dart';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';

class MainShowHTMLPage extends StatefulWidget {
  final String titleStr;
  final String htmlSte;

  MainShowHTMLPage(this.titleStr, this.htmlSte, {Key key}) : super(key: key);

  @override
  _MainShowHTMLPageState createState() => _MainShowHTMLPageState();
}

class _MainShowHTMLPageState extends State<MainShowHTMLPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: getAppBar(context, widget.titleStr),
      body: ListView(
        children: [Html(data: widget.htmlSte)],
      ),
    );
  }
}
